Range

Function

This API is used to get the parameter range of Network > Voice Assistant.

Request Message

Parameter Description

Table 1
ParameterRangeTypeDescription
SmartHomePage"Amazon"
"Google"
stringVoice assistant type.

Sample:

POST /API/NetworkConfig/SMARTHOME/Range HTTP/1.1
{
    "version": "1.0",
    "data": {"SmartHomePage": "Amazon"}
}

Response Message

Parameter Description

Table 2
ParameterRangeTypeDescription
SmartHomePage"Amazon"
"Google"
stringVoice assistant type.
operate"Bind"
"UnBind"
"Apply"
string
BindEnablebool
UserNamestring length:0-128stringThe account corresponding to the platform to be displayed.
ScreenStream"Mainstream"
"Substream"
The stream of screen projection.
default_timeoutintDefault timeout time, 60000ms.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "SmartHomePage": {
            "type": "string",
            "items": [
                "Amazon",
                "Google"
            ]
        },
        "operate": {
            "type": "string",
            "items": [
                "Bind",
                "UnBind",
                "Apply"
            ]
        },
        "BindEnable": {"type": "bool"},
        "UserName": {
            "type": "string",
            "min_len": 0,
            "max_len": 128
        },
        "ScreenStream": {
            "type": "string",
            "items": [
                "Mainstream",
                "Substream"
            ]
        },
        "default_timeout": 60000
    }
}

Error Code

See Response Messages Body and Common error_code for more information.